//
//  CYYNetWorkManager+PartyDetail.h
//  LetsPartyBmob
//
//  Created by rimi on 15/9/9.
//  Copyright (c) 2015年 柴阳阳. All rights reserved.
//

#import "CYYNetWorkManager.h"
//成功block
typedef void(^SucessPartyDetail)(BmobObject * object);
@interface CYYNetWorkManager (PartyDetail)

//根据活动Id进入活动详情
+ (void)partyDetailWithObjectId:(NSString *)objectId
                         sucess:(SucessPartyDetail)sucess
                           fail:(Fail)fail;

@end
//注意： 其中关注者和评论  需要使用PartyParticipatorsList和CommentList提供的方法
/*
成功示例
 
 className = Parties;
 objectId = 5350ba7d57;
 createdAt = 2015-09-09 11:07:49 +0000;
 updatedAt = 2015-09-10 06:09:48 +0000;
 date = {
 partyBeginTime = "2015/09/01";
 partyComments =     {
 "__type" = Relation;
 className = Comments;
 };
 partyDetailText = "\U6211\U4eec\U4e00\U8d77\U9ad8\U7ea7\U6765";
 partyEndTime = "2015/09/10";
 partyParticipators =     {
 "__type" = Relation;
 className = "_User";
 };
 partyPositionCoordinate =     {
 "__type" = GeoPoint;
 latitude = "39.9137683824291";
 longitude = "116.3972778618336";
 };
 partyPositionName = "\U5b75\U5316\U56ed21";
 partySecretCode = 123456;
 partySponsor =     {
 "__type" = Pointer;
 className = "_User";
 objectId = 0664e2a5fd;
 };
 partyTitle = "\U56e2\U621821";
 };
 
 如何取到请求下来的数据？
 [object objectForKey:@"partySponsor"]
*/